* {
	box-sizing: border-box;
}

[v-cloak] {
	display: none !important;
}

.o-y-a {
	overflow-y: auto;
}

img {
	vertical-align: middle;
}


/* flex相关 */
.flex-box {
	display: -webkit-flex;
	display: flex;
}

.flex-direction-c {
	flex-direction: column;
}

.flex-direction-r {
	flex-direction: row;
}

.flex-main {
	flex: 1;
}


/* 界面布局 */
.page-full {
	width: 100%;
	height: 100%;
}

html,
body {
	width: 100%;
	height: 100%;
	background-color: #ffffff;
	font-family: "Microsoft YaHei";
}

#app {
	width: 100%;
	height: 100%;
}

#app>.box {
	width: 100%;
	height: 100%;
	display: -webkit-flex;
	display: flex;
	flex-direction: column;
	flex-wrap: nowrap;
	position: relative;
}

#app>.box>.content {
	flex: 1;
	overflow-y: auto;
	-webkit-overflow-scrolling: touch;
	background: #f7f8fa;
	position: relative;
}

#app>.box>.content .content-refresh {
	height: 100%;
	overflow-y: auto;
	-webkit-overflow-scrolling: touch;
	background: #f7f8fa;
}

/* #app>.box>.content>div{
    height: 100%;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    position: relative;
} */

/* #app>.box>.bottom {
	overflow: hidden;
	box-shadow: 0px 1px 5px rgb(200, 198, 198);
	display: -webkit-flex;
	display: flex;
	flex-direction: row;
}

#app>.box>.bottom button {
	border-radius: 0;
} */

/* #app>.box>.bottom .left-content {
	flex: 1;
	padding: 0 15px;
}

#app>.box>.bottom .right-button {
	min-width: 80px;

} */

/* #app>.box>.bottom .left-content {
	display: inline-block;
	line-height: 44px;
	margin-right: 30px;
	color: #9e9e9e;
	font-size: 13px;
}

#app>.box>.bottom .left-content .total {
	color: #cd1b21;
	font-weight: 700;
	font-size: 16px;
	margin-right: 10px;
} */







/* 表格相关 */

.table .table-full {
	width: 100%;
	overflow-x: auto;
}

.table .table-fixed {
	position: absolute;
	left: 0;
	top: 0;
	background: #efefef;
}

.table table {
	width: 100%;
	border-collapse: collapse;
}

.table table tr th {
	/* color: #8f8f8f; */
	font-size: 14px;
	font-weight: bold;
	height: 34px;
	white-space: nowrap;
	padding: 0 5px;
	border: 1px solid #e5e5e5;
	background: #fdfbf0;
	text-align: left;
}

.table table tr td {
	font-size: 13px;
	height: 34px;
	white-space: nowrap;
	padding: 0 5px;
	border: 1px solid #e5e5e5;
}

.table table tr td .van-cell {
	padding: 0;
}

table tr:nth-child(odd) {
	background-color: #fdfbf0;
}

table tr:nth-child(even) {
	background-color: #f0f0f0;
}


.button {
	padding: 17px 0;
	text-align: center;
	font-size: 13px;
	color: #969799;
}

.td_center {
	text-align: center;
}

.td_right {
	text-align: right;
}

.btn-padding {
	padding: 20px 15px;
	border-top: 1px solid #f0f0f0;
}

/* vant样式 */
.left .van-cell__value {
	text-align: left;
}

.form .van-cell__title {
	max-width: 100px;
}

.van-field__label {
	width: 100px;
}

.van-nav-bar {
	background-color: #51d0d0;
	box-sizing: content-box;
}

.van-nav-bar__title {
	color: #fff;
}

.van-nav-bar__left {
	left: 0;
	width: 80px;
	padding-left: 16px;
	text-align: left;

}

.van-nav-bar .van-icon {
	color: #323233;
}

.van-nav-bar__right {
	right: 0;
	padding-right: 16px;
	text-align: right;
	color: #fff;
}

.van-nav-bar__right span {
	display: inline-block;
	margin-left: 15px;
}

.van-nav-bar__right img {
	width: 22px;
	vertical-align: middle;
}

.van-nav-bar__text,
.van-nav-bar .van-icon {
	color: #fff;
}

.van-tabs {
	width: 100%;
	height: 100%;
	display: -webkit-flex;
	display: flex;
	flex-direction: column;
}

.van-tabs--card>.van-tabs__wrap {
	overflow: inherit;
	margin: 10px 0;
}

.van-tabs__content {
	flex: 1;
	overflow: hidden;
}

.van-tab__pane {
	height: 100%;
	overflow-y: auto;
}

.van-tabs__nav--card .van-tab {
	color: #2fa2b9;
	border-right: 1px solid #2fa2b9;
}

.van-tabs__nav--card .van-tab.van-tab--active {
	background-color: #2fa2b9;
}

.van-pull-refresh,
.van-pull-refresh .van-pull-refresh__track {
	height: 100%;
}


.head-menu {
	position: fixed;
	top: 70px;
	right: 10px;
	background: #3e3c3c;
	border-radius: 6px;
	padding: 5px 0 5px 10px;
	color: #fff;
	font-size: 14px;
	width: 130px;
	z-index: 99;
}

.head-menu .menu-arrow {
	position: absolute;
	right: 5px;
	top: -10px;
	height: 20px;
}

.head-menu>div {
	padding: 7px 0;
	border-bottom: 1px solid #5d5b5b;
}

.head-menu>div:last-child {
	border-bottom: 0
}

.head-menu>div img {
	width: 26px;
	margin-right: 5px;
}

.van-cell--required .van-field__label::after {
	/* position: absolute;
    left: 8px; */
	color: #ee0a24;
	/* font-size: 14px; */
	content: '*';
}

.van-cell--required::before {
	/* position: absolute;
    left: 8px;
    color: #ee0a24;
    font-size: 14px;
    content: '*'; */
	content: '';
}

.van-field__left-icon {
	margin-top: -3px;
	font-weight: 600;
	color: #969799;
}








/* 单据列表 */

.module {
	position: relative;
	padding: 8px 10px 0 10px;
}

.module:last-child {
	padding-bottom: 15px;
}

.module>div {
	position: relative;
	background: #fff;
	padding: 8px 10px 0 10px;
	border-radius: 8px;
	overflow: hidden;
	/* box-shadow: 1px 2px 5px -1px #8a8a8a; */
}

.label {
	display: flex;
	align-items: center;
	color: #3a3a3a;
}

.label .sn {
	display: flex;
	justify-content: center;
	align-items: center;
	text-align: center;
	min-width: 20px;
	height: 20px;
	border-radius: 50%;
	background-color: #51d0d0;
	color: #fff;
}

.djcode {
	font-size: 14px;
	margin-left: 8px;
}

.djcode>span {
	margin-left: 8px;
}

.van-divider {
	margin: 8px 0;
}

.cmid {
	flex-direction: column;
	font-size: 14px;
	padding: 0 2px;
	color: #808080;
}

.cmid>div {
	display: flex;
	align-items: center;
	margin-bottom: 8px;
}

.cmid .cmidIcon {
	/* background-color: red; */
}

.cmidLabel {
	margin-left: 8px;
	width: 60px;
}

.cmidValue {
	margin-left: 8px;
}

.approval {
	position: absolute;
	top: 30px;
	right: 20px;
	width: 100px;
	transform: rotate(-30deg);
}

.approval img {
	width: 100px;
}

/* 单据列表-新增按钮 */
.fix-button {
	position: fixed;
	bottom: 60px;
	right: 20px;
}

.fix-button img {
	width: 48px;
	height: 48px;
	opacity: .7;
}

/* 表单详情-表头信息-标题 */
.mTitle {
	font-size: 14px;
	font-weight: bold;
}

/* 表单详情-表头信息-按钮 */
.mIcon {
	display: flex;
	justify-content: center;
	align-items: center;
	height: 100%;
	padding-right: 5px;
}

/* 表单详情-表头信息-下分割线 */
.mainContent .van-col {
	border-bottom: 1px solid #f0f0f0;
	background-color: #2fa2b9;
}

/* 表单详情-中部按钮 */
.midPanel {
	display: flex;
	justify-content: center;
	align-items: center;
	padding: 5px 5px 9px;
}

.midPanel button {
	background-color: #51d0d0;
	flex: 1;
	color: #fff;
	border: none;
	margin-right: 5px;
}

/* 表单明细-tab切换 */
.detail {
	background: #fff;
}

.detail-label {
	color: #fff;
	position: relative;
	top: -4px;
	font-size: 0;
}

.detail-label>div {
	padding: 3px 10px;
	background-color: #3a3a3a;
	display: inline-block;
	font-size: 13px;
}

.detail-label>div.on {
	background-color: #51d0d0;
}

/* 表单明细-产品 */
.productBox {
	justify-content: center;
	align-items: center;
	padding: 5px;
	width: 100%;
	border: 2px solid transparent;
	margin-top: 2px;
}

/* 产品-删除 */
.delete-img {
	margin: -5px 0;
	position: relative;
	width: 40px;
}

.delete-img img {
	position: absolute;
	transform: translate(-50%, -50%);
	left: 50%;
	top: 50%;
	width: 20px;
}

/* 产品-选中 */
.b-p {
	border: 2px solid #318788 !important;
}

.b-p-t {
	border: 2px solid transparent !important;
}

/**箱码-表格**/
.codeBox {
	width: 100%;
}

/* 箱码-标题 */
.codeBox-title {
	width: 100%;
	height: 30px;
	justify-content: center;
	align-items: center;
	background-color: #f0f0f0;
	border: 1px solid #969799;
	border-radius: 1px;
	font-size: 14px;
	font-weight: bold;
	text-align: center;
	margin-top: -1px;
}

/* 箱码-明细 */
.boxCodeShow {
	width: 100%;
	height: 25px;
	justify-content: center;
	align-items: center;
	background-color: #f0f0f0;
	border: 1px solid #969799;
	border-radius: 1px;
	color: #071e5f;
	font-size: 13px;
	font-weight: bold;
	text-align: center;
	margin-top: -1px;
}

/* 箱码-删除 */
.delCode-title,
.delCode-content {
	width: 10%;
}

.boxCode-title,
.boxCode-content {
	width: 50%;
}

.qty-title,
.qty-content {
	width: 20%;
}

.pos-title,
.pos-content {
	width: 20%;
}

.BoxCodeFBatchNo {
	color: #071e5f;
	font-weight: bold;
}

.BoxCodeFBatchNo>div span {
	color: #a33d3b;
}

/* 产品-箱码合计 */
.productTotal {
	width: 100%;
	height: 30px;
	padding: 5px;
	justify-content: center;
	align-items: center;
	font-size: 14px;
	font-weight: bold;
	border: 1px solid #969799;
	border-radius: 1px;
	margin-top: -1px;
	background-color: #f0f0f0;
}

.total-left,
.total-right {
	width: 50%;
}

.total-left1 {
	width: 80%;
}

.totalBoxNum,
.totalQty {
	justify-content: flex-start;
	align-items: center;
	color: #a33d3b;
}

.detail-content {
	padding: 0px 5px;
}

.hideElements {
	display: none;
}

.title-bg {
	width: 100%;
	background-color: #fdfbf0;
	padding: 5px;
	word-break: break-all;
	font-size: 14px;
	/* font-weight: 600; */
}

/* 表单明细-底部按钮 */
#app>.box>.bottom {
	display: flex;
	display: -webkit-flex;
	justify-content: flex-end;
	overflow: hidden;
	box-shadow: 0px 1px 5px rgb(200, 198, 198);
	padding: 5px;
}

#app>.box>.bottom button {
	background-color: #51d0d0;
	color: #fff;
	border: none;
	min-width: 80px;
	margin-right: 5px;
}